﻿using ML.Entity;
using System.Collections.Generic;

namespace ML.IRepository
{
    /// <summary>
    /// 订单详情仓储接口
    /// </summary>
    public interface IOrderDetailsRepository : IBaseRepository<OrderDetailsEntity>
    {
        IEnumerable<OrderDetailResponse> GetDetailById(string id);

        IEnumerable<OrderDetailResponse> GetOrderDetailIds(List<string> orderIds);

        IEnumerable<OrderDetailsEntity> GetOrderDetailByProductId(string Id);
    }
}